CFLAGS=-g

SOURCES=isalnum.c isalpha.c iscntrl.c isdigit.c isgraph.c islower.c isprint.c \
		ispunct.c isspace.c issupper.c isxdigit.c tolower.c toupper.c

PROGRAMS=$(SOURCES:.c=)

all: ${PROGRAMS}

isalnum: isalnum.c
	${CC} ${CFLAGS} -o $@ $< 
isalpha: isalpha.c
	${CC} ${CFLAGS} -o $@ $< 
iscntrl: iscntrl.c
	${CC} ${CFLAGS} -o $@ $< 
isdigit: isdigit.c
	${CC} ${CFLAGS} -o $@ $< 
isgraph: isgraph.c
	${CC} ${CFLAGS} -o $@ $< 
islower: islower.c
	${CC} ${CFLAGS} -o $@ $< 
isprint: isprint.c
	${CC} ${CFLAGS} -o $@ $< 
ispunct: ispunct.c
	${CC} ${CFLAGS} -o $@ $< 
isspace: isspace.c
	${CC} ${CFLAGS} -o $@ $< 
issupper: issupper.c
	${CC} ${CFLAGS} -o $@ $< 
isxdigit: isxdigit.c
	${CC} ${CFLAGS} -o $@ $< 
tolower: tolower.c
	${CC} ${CFLAGS} -o $@ $< 
toupper: toupper.c
	${CC} ${CFLAGS} -o $@ $< 
	
clean:
	rm -rf ${PROGRAMS}
